import java.util.Map.Entry;
import java.util.Set;

import com.typesafe.config.ConfigValue;

import play.Application;
import play.GlobalSettings;
import util.Config;


public class Global extends GlobalSettings {

	public void onStart(Application app) {
		Set<Entry<String,ConfigValue>> values = app.configuration().entrySet();
		try {
			Config.readConfig(values);
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
	}
}
